package com.va1m.mongodemo.mapper;

import com.va1m.mongodemo.entity.User;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @author Admin
 */
@Repository
public interface UserRepository extends MongoRepository<User, Integer> {
    void deleteByName(String name);
}
